package com.vvlhw.pptmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vvlhw.common.utils.PageUtils;
import com.vvlhw.pptmall.product.entity.GoodsEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 *
 * @author lianghanwei
 * @email 15362941982@163.com
 * @date 2020-06-14 16:11:50
 */
public interface GoodsService extends IService<GoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<GoodsEntity> getBycatIdAndOther(Long catId, String other);

    void updateCatNameByCatId(Long catId, String catName);

    Long mySave(GoodsEntity goods);
}

